{include file="header.tpl"}
{strip}
<div class="epData">
	{if $episode.filename}
	<img src="/image/episode/{$episode.filename}/150" class="epImg" />
	{/if}
	<div class="epRating">Értékelés<span>{$episode.avrank}</span></div>
	<a href="#epReview" id="reviewBtn" class="tip" rel="Vélemény írása">Vélemény írása</a>
	<h1 class="epTitle">{$episode.seasonnumber}x{$episode.episodenumber|string_format:'%02d'} {$episode.episodename}</h1>
	<h2 class="seriesTitle">{$episode.seriesname}</h2>
	<div class="epOverview"><div id="epOverview">{$episode.overview}</div></div>
</div>
<div class="reviewsList" id="reviewsList">
	{*<div class="oneReview">
		<div class="revTop"></div>
		<div class="revContent">
			<span class="revOwner">fupet</span>Creatively Written, Nicely Presented But Still Consists Of Many Loop Holes.<br>The Episode aims at ted figuring out what kind of a professor he wants to be &amp; as well as fighting his nightmares as a student. This Gets a bit boring since most of the nightmares are quite old concepts. However In the end the Ted's Nightmare cause himself to make a fool of himself is what add a spice of laughter.
			<span class="revTime">8 napja</span>
		</div>
		<div class="revBottom"></div>
	</div>*}
</div>

<div class="epReview" id="epReview">
	<div class="revRating"><span class="revRatText">Értékelés</span><span id="rateDisplay">{if $episode.rank == -1}{else}{$episode.rank}{/if}</span><div class="rankbar"><div class="{ldelim}{if $episode.rank == -1}id: {$episode.id}, rank: 5{elseif !$episode.rank}rank: 5{else}rank: {$episode.rank}{/if}{rdelim}"></div></div></div>
	<h3 class="revTitle">Mi a véleményed a részről?</h3>
	<form name="sendReview" id="sendReview" method="post" action="/api/addreview">
	<textarea name="review" id="review"></textarea>
	<span class="revBtns">
			<span class="wordCount">Szavak száma: <span id="wordCount">0</span> <small>/minimum 10/</small></span>
		<input type="hidden" name="episodeid" id="episodeid" value="{$episode.id}">
		<input type="submit" value="elküld" class="button" /> <input type="reset" value="mégsem" class="button" />
	</span>
	</form>
</div>
{/strip}
{include file="footer.tpl"}

